import mall from "@/router/mall";
import marketing from "@/router/marketing";
import merchant from "@/router/merchant";

// 需要动态缓存的路由实例，注意name字段和路由指向实例组件script中的name保持一致
export default [
  // router activity.ts
  {
    path: '/activity/home',
    name: 'ActivityHome'
  },
  {
    path: '/activity/list',
    name: 'ActivityList'
  },
  {
    path: '/activity/templateMng/add',
    name: 'ActivityTemplate'
  },
  {
    path: '/activity/templateMng/type',
    name: 'ActivityTemplateType'
  },
  {
    path: '/activity/order/list',
    name: 'ActivityOrder'
  },
  {
    path: '/activity/order/afterSalesList',
    name: 'AfterSalesList'
  },
  {
    path: '/activity/order/abnormalList',
    name: 'ActListAbnormal'
  },
  {
    path: '/activity/pageList',
    name: 'AppPage'
  },
  {
    path: '/activity/question-bank',
    name: 'QuestionBank'
  },

  // router flow.ts
  {
    path: '/flow/auto/marketingModel',
    name: 'MarketingModel'
  },
  {
    path: '/flow/auto/marketingProcess',
    name: 'MatketingProcess'
  },
  {
    path: '/flow/reachPipeline/smsManagement',
    name: 'SmsManagement'
  },
  {
    path: '/flow/reachPipeline/emailManagement',
    name: 'EmailManagement'
  },
  {
    path: '/flow/auto/flowModel',
    name: 'FlowModel'
  },

  // router mall.ts
  {
    path: '/mall/manage/list',
    name: 'MallManageList'
  },
  {
    path: '/mall/decorate/page',
    name: 'DecoratePage'
  },
  {
    path: '/mall/product/list',
    name: 'MallProductList'
  },
  {
    path: '/mall/product/category',
    name: 'MallProductCategory'
  },
  {
    path: '/mall/order/list',
    name: 'MallOrderList'
  },
  {
    path: '/mall/order/afterSalesList',
    name: 'MallAfterSalesList'
  },
  {
    path: '/mall/order/abnormal',
    name: 'MallOrderAbnormal'
  },
  {
    path: '/mall/system/mallConfig',
    name: 'MallSystemMallConfig'
  },
  {
    path: '/mall/system/transConfig',
    name: 'MallSystemTransConfig'
  },

  // router marketing.ts
  {
    path: '/marketing/managerHome/integralManag',
    name: 'IntegralManag'
  },
  {
    path: '/marketing/managerHome/taskManag',
    name: 'TaskManag'
  },
  {
    path: '/marketing/managerHome/orderManag',
    name: 'OrderManag'
  },

  // router merchant.ts
  {
    path: '/merchant/customerCenter/customerGroup',
    name: 'CustomerGroup'
  },
  {
    path: '/merchant/customerCenter/attribute',
    name: 'Attribute'
  },
  {
    path: '/merchant/customerCenter/customerClient',
    name: 'CustomerClient'
  },
  {
    path: '/merchant/order/manage',
    name: 'MorderManage'
  },
  {
    path: '/merchant/order/list_after_sales',
    name: 'MlistAfterSales'
  },
  {
    path: '/merchant/order/list_abnormal',
    name: 'AbnormalOrderList'
  },
  {
    path: '/merchant/task_center/task_record',
    name: 'TaskRecord'
  },
  {
    path: '/merchant/task_center/category',
    name: 'TaskCategory'
  },
  {
    path: '/merchant/vip_center/rank_list',
    name: 'RankList'
  },
  {
    path: '/merchant/vip_center/benefits',
    name: 'Benefits'
  },
  {
    path: '/merchant/vip_center/rank_rule',
    name: 'RankRule'
  },
  {
    path: '/merchant/tokens/tokensManage',
    name: 'TokensManage'
  },
  {
    path: '/merchant/product/category',
    name: 'ProductCategory'
  },
  {
    path: '/merchant/product/businesManag',
    name: 'BusinesManagement'
  },
  {
    path: '/merchant/organization/manage',
    name: 'OrganizationManage'
  },
  {
    path: '/merchant/organization/position',
    name: 'OrganizationPosition'
  },
  {
    path: '/merchant/organization/staff_management',
    name: 'StaffManagement'
  },
  {
    path: '/merchant/log/merchant_log',
    name: 'MerchantLog'
  },
  {
    path: '/merchant/system/platform',
    name: 'SystemPlatform'
  },
  {
    path: '/merchant/system/ipConfigList',
    name: 'IpConfigList'
  },
  {
    path: '/merchant/system/configSetting',
    name: 'ConfigSetting'
  },
  {
    path: '/merchant/pageMng/middlePage',
    name: 'MiddlePage'
  },
  {
    path: '/merchant/notice/noticeMng',
    name: 'NoticeMng'
  },
  {
    path: '/merchant/verify/activity',
    name: 'VerifyActivity'
  },
];